<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人资料</title>
    <link rel="stylesheet" href="styles.css">
</head>
<style>
    body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

main {
    padding: 20px;
}

form {
    max-width: 300px;
    margin: 0 auto;
}

label, input, textarea {
    display: block;
    margin-bottom: 10px;
    width: 100%;
}

button {
    background-color: #5cb85c;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
}
</style>
<body>
    <header>
        <h1>个人资料</h1>
    </header>
    <main>
        <section id="personal-info" style="">
            <form id="infoForm">
                <label for="username">用户名:</label>
                <input type="text" id="username" name="username"><br><br>

                <label for="email">邮箱:</label>
                <input type="email" id="email" name="email"><br><br>

                <label for="nickname">昵称:</label>
                <input type="text" id="nickname" name="nickname"><br><br>

                <label for="bio">个人简介:</label>
                <textarea id="bio" name="bio"></textarea><br><br>

                <button type="submit">更新资料</button>
            </form>
        </section>
    </main>

</body>
</html>